//
//  CCNetworkImageView.h
//  TYEJ
//
//  Created by CC on 2019/12/1.
//  Copyright © 2019 CC. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SDWebImage/UIImageView+WebCache.h>
#import <SDWebImage/UIView+WebCache.h>

@interface CCNetworkImageView : UIImageView
- (void)setImageWithURL:(NSString *)url;
- (void)setImageWithURL:(NSString *)url placeholderImage:(UIImage *)placeholder;
- (void)setImageWithURL:(NSString *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDExternalCompletionBlock)completedBlock;

/**
 *  @brief 取消下载
 */
- (void)prepareForCancleLoad;
@end

